package cn.zhaozhiqi.pojo.vo.app;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * <p>
 * 返回前端的司机端详细费用Vo
 * </p>
 *
 * @author zhaozhiqi
 * @since 2024-12-30
 */
@Data
@Accessors(chain = true)
public class OrderBillVo  {


    //支付状态，是order的状态
    private Integer status;

    //订单总金额")
    private BigDecimal realOrderAmount;

    //实付款金额")
    private BigDecimal realPayAmount;

    //路桥费")
    private BigDecimal tollAmount;

    //顾客好处费")
    private BigDecimal favourAmount;

    //系统奖励费")
    private BigDecimal incentiveAmount;

    //基础里程（公里）")
    private BigDecimal baseMileage;

    //基础里程价格")
    private BigDecimal baseMileageAmount;

    //超出基础里程每公里价格")
    private BigDecimal exceedBaseMileageEveryKmAmount;

    //超出基础里程多少公里")
    private BigDecimal exceedBaseMileage;

    //超出基础里程的价格")
    private BigDecimal exceedBaseMileageAmount;

    //里程费(基础+超出)")
    private BigDecimal mileageAmount;

    //等时时长")
    private Integer waitingMinute;

    //免费等时分钟数")
    private Integer freeBaseWaitingMinute;

    //超出免费等时每分钟价格")
    private BigDecimal execeedBaseWaitingEveryKmAmount;

    //超出免费等时的分钟数")
    private Integer execeedBaseWaitingMinute;

    //等时费用(超出分钟*每分钟价格)")
    private BigDecimal waitingAmount;

    //返程里程(等于订单里程)")
    private BigDecimal returnMileage;

    //返程费免费公里数")
    private BigDecimal freeBaseReturnMileage;

    //超出免费返程公里数，每公里收取的费用")
    private BigDecimal exceedBaseReturnEveryKmAmount;

    //超出免费返程部分的里程")
    private BigDecimal exceedFreeBaseReturnMileage;

    //返程费(超出公里*每公里价格)")
    private BigDecimal returnAmont;

    //订单号")
    private String orderNo;

    //其他费用")
    private BigDecimal otherAmount;

    //停车费")
    private BigDecimal parkingAmount;

    //平台分账收入")
    private BigDecimal platformIncomeAmount;

    //司机分账收入")
    private BigDecimal driverIncomeAmount;

    //平台分账比例")
    private BigDecimal platformRate;

    //实际里程")
    private BigDecimal realMileage;

    //司机名字")
    private String driverName;

    //司机电话")
    private String driverPhone;

    //司机头像")
    private String driverPhoto;

    //起始地点")
    private String startPlace;

    //结束地点")
    private String endPlace;

    //订单创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss",timezone = "GMT+8")
    private Date createTime;

    //代金券面额")
    private BigDecimal voucherAmount;

    //司机ID")
    private Long driverId;


}
